package com.zjeav.lingjiao.base.service;

import com.zjeav.lingjiao.base.baseBean.Result;
import com.zjeav.lingjiao.base.config.Route;
import com.zjeav.lingjiao.base.request.BookRequest;
import com.zjeav.lingjiao.base.response.UserBuyRecordResponse;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Path;

public interface BuyHistoryService {
    @POST(Route.Buy_History)
    Observable<Result<UserBuyRecordResponse>> getBuyHistory(@Path("id") int id, @Body BookRequest request);
}
